package com.telit.firecommand.service;

import com.telit.firecommand.dto.CommFireReportDTO;
import com.telit.firecommand.vo.CommFireReportVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.OutputStream;

/**
 * Create by Chencf 2023/02/13
 */


public interface FireReportService {

    CommFireReportVO findFireReport(String fireId);

    void updateFireReport(CommFireReportDTO dto);

    /**
     * 生成pdf 并输出到指定流中
     */
    void printDetailPDF(String  fireId, OutputStream os, HttpServletRequest request, HttpServletResponse response) throws IOException;



}
